﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Code4WP7SDK
{
    public class SenderInfo
    {
        #region Fields
        private Type _targetType;        //消息接受者类型
        private object _token;           //消息标示
        private object _message;         //消息
        #endregion

        #region Constructor
        public SenderInfo(object message, Type targetType, object token)
        {
            this._message = message;
            this._targetType = targetType;
            this._token = token;
        }
        #endregion

        #region Properties
        public Type TargetType
        {
            get { return _targetType; }
            set { _targetType = value; }
        }
        public object Token
        {
            get { return _token; }
            set { _token = value; }
        }
        public object Message
        {
            get { return _message; }
            set { _message = value; }
        }
        #endregion

    }
}
